import 'package:appflutterhomeschool/route/route_handlers.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';

class Routes {
  static String root = "/";
  static String mainTabPage = "/main_tab_page";
  static String loginPage = "/login_page";
  static String registerPage = "/register_page";
  static String switchIdentityPage = "/switch_identity_page";
  static String switchClassesPage = "/switch_classes_page";
  static String applyPage = "/apply_page";
  static String discussPage = "/discuss_page";
  static String statusSelectionListPage = "/status_selection_list_page";
  static String newNotificationPage = "/new_notification_page";
  static String custumNotificationsPage = "/custum_notifications_page";
  static String recipientListPage = "/recipient_list_page";
  static String systemNotificationPage = "/system_notification_page";
  static String letterDetailsPage = "/letter_details_page";
  static String replyLetterPage = "/reply_letter_page";
  static String studentInformationPage = "/student_information_page";
  static String setUpPage = "/set_up_page";
  static String aboutUsPage = "/about_us_page";
  static String personalDataPage = "/personal_data_page";
  static String changePasswordPage = "/change_password_page";
  static String customerServicePage = "/customer_service_page";
  static String helpDetailsPage = "/help_details_page";
  static String leaveWordPage = "/leave_word_page";
  static String newClassPage = "/new_class_page";
  static String customizationPage = "/customization_page";
  static String coureDetailsPage = "/coure_details_page";
  static String confirmCorderPage = "/confirm_corder_page";
  static String knowledgeStatisticsPage = "/knowledge_statistics_page";
  static String taskPage = "/task_page";
  static String analysisReportPage = "/analysis_report_page";
  static String operationDetailsPage = "/operation_details_page";
  static String performanceCurvePage = "/performance_curve_page";
  static String agreedAnnouncementPage = 'agreed_announcement_page';
  static String newFormPage = 'new_form_page';
  static String addQuestionTypePage = 'add_question_type_page';
  static String formDetailsPage = 'form_details_page';
  static String formDataPage = 'form_data_page';
  static String answerSheetPage = 'answer_sheet_page';
  static String answerDisplayPage = 'answer_display_page';
  static String jobListStatusPage = 'job_list_status_page';

  static void configureRoutes(Router router) {
    router.notFoundHandler = new Handler(
        handlerFunc: (BuildContext context, Map<String, List<dynamic>> params) {
      return;
    });
    router.define(mainTabPage, handler: mainTabHandler);
    router.define(loginPage, handler: loginHandler);
    router.define(registerPage, handler: registerHandler);
    router.define(switchIdentityPage, handler: switchIdentityHandler);
    router.define(switchClassesPage, handler: switchClassesHandler);
    router.define(applyPage, handler: applyHandler);
    router.define(discussPage, handler: discussHandler);
    router.define(statusSelectionListPage, handler: statusSelectionListHandler);
    router.define(newNotificationPage, handler: newNotificationHandler);
    router.define(custumNotificationsPage, handler: custumNotificationsHandler);
    router.define(recipientListPage, handler: recipientListHandler);
    router.define(systemNotificationPage, handler: systemNotificationHandler);
    router.define(letterDetailsPage, handler: letterDetailsHandler);
    router.define(replyLetterPage, handler: replyLetterHandler);
    router.define(studentInformationPage, handler: studentInformationHandler);
    router.define(setUpPage, handler: setUpHandler);
    router.define(aboutUsPage, handler: aboutUsHandler);
    router.define(personalDataPage, handler: personalDataHandler);
    router.define(changePasswordPage, handler: changePasswordHandler);
    router.define(customerServicePage, handler: customerServiceHandler);
    router.define(helpDetailsPage, handler: helpDetailsHandler);
    router.define(leaveWordPage, handler: leaveWordHandler);
    router.define(newClassPage, handler: newClassHandler);
    router.define(customizationPage, handler: customizationHandler);
    router.define(coureDetailsPage, handler: coureDetailsHandler);
    router.define(confirmCorderPage, handler: confirmCorderHandler);
    router.define(knowledgeStatisticsPage, handler: knowledgeStatisticsHandler);
    router.define(taskPage, handler: taskHandler);
    router.define(analysisReportPage, handler: analysisReportHandler);
    router.define(operationDetailsPage, handler: operationDetailsHandler);
    router.define(performanceCurvePage, handler: performanceCurveHandler);
    router.define(agreedAnnouncementPage, handler: agreedAnnouncementHandler);
    router.define(newFormPage, handler: newFormHandler);
    router.define(addQuestionTypePage, handler: addQuestionTypeHandler);
    router.define(formDetailsPage, handler: formDetailsHandler);
    router.define(formDataPage, handler: formDataHandler);
    router.define(answerSheetPage, handler: answerSheetHandler);
    router.define(answerDisplayPage, handler: answerDisplayHandler);
    router.define(jobListStatusPage, handler: jobListStatusHandler);
  }
}
